a = [1, 1, 3]
a.append(4)
#print(a)
a[len(a):] = [5]
#print(a)
a.insert(4,6)
#print(a)
# a.remove(1)
# #print(a)
# #print(a.pop())
# a.clear()
# #print(a)
#print(a.count(1))
a.reverse()
#print(a)

fruits=['apple','orange','pear' , 'banana' , 'kiwi' , 'apple' , 'banana']
#print(fruits.count('apple') , fruits.count('pear'))
fruits.index('banana' , 4)
#print(fruits.index('banana' , 2))
fruits.sort()